package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Duty;
import cn.wolfcode.crm.query.DutyQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDutyService {


    Duty selectByPrimaryKey(Long id);

    List<Duty> selectAll();

    /**
     * 签到
     * @param entity
     */
    void saveOrUpdate(Duty entity);

    PageResult query(DutyQueryObject qo);

    /**
     * 签退
     */
    void signOff();
}
